/*
 * Stage.h
 *
 *  Created on: Apr 7, 2012
 *      Author: The Almighty Eric
 */

#ifndef STAGE_H
#define STAGE_H

#include "Block.h"
#include "end.h"
#include "SDL_mixer.h"
#include "engine.h"
#include <list>
#include <string>
#include <iostream>
#include <fstream>

class Stage
{
public:
	int width;
	int height;
	int startx, starty;
	std::list<Block> blocks;
	end stageend;

	Stage();
	bool LoadStage(std::string filename, engine e);
	std::list<Block> getBlocks();
	void Update(Uint32 dticks);
};

#endif
